<%-- 
    Document   : LCargoPersona
    Created on : 24-oct-2013, 12:25:43
    Author     : WALDIR
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@page import="com.ptr.ptrsystem.bean.CargoPersona"%>
<%@page import="com.ptr.ptrsystem.dao.Lista" %>
<%@page import="java.util.LinkedList" %>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
    </head>
    <body>
        
               
        <table style="border:1px #dbdbdb solid">
            <tr>
                <td colspan="4">
                    <CENTER>
                        <!--<button type="button" name="btn1" value="btnsalir" class="button" onclick="location.href='/sisagua/jsp/reportesjsp/prediosporbarrioreporte.jsp'">Cerrar</button>!-->
                        <div style="font-size: 1.0em; color: #ffffff; font-weight: bold;background: #cfdbe0 ;
                             border-top-left-radius: 5px;width: 400px;
                    height: 30px;border-top-left-radius: 5px;border-top-right-radius: 5px;
                    border-bottom-left-radius: 5px;border-bottom-right-radius: 5px;">
                            <center>LISTA CARGO PERSONA</center>
                    </div></center>
                </td>
            </tr>
            <tr>
                <td Style="font: Arial; color: #a3bfed; font-size: 0.7em;
                    border:1px #dbdbdb solid; text-align: center; font: bold">
                    <label class="letra">CODIGO</label></td>
                <td Style="font: Arial; color: #a3bfed; font-size: 0.7em;
                    border:1px #dbdbdb solid; text-align: center; font: bold">
                    <label class="letra">NOMBRE CARGO</label></td>
            </tr>
            <%LinkedList<CargoPersona> listaCP= Lista.getListaCargoPersona();
        for(int y=0;y<listaCP.size();y++){%>
        <tr style="border:0.1px; background-color: #f9f6ed;border-color: #bbc6db">
                <td style="font-size: 0.7em"><%=listaCP.get(y).getCOD_CARGO()%></td>
                <td style="font-size: 0.7em"><%=listaCP.get(y).getNOM_CARGO()%></td>
            </tr>
        <%}%>
        <tr>
            <td colspan="4">
                <button type="button" name="btn1" value="btnsalir" class="boton" onclick="window.close();">Cerrar</button>
            </td>
         </tr>
        </table>
        
    </body>
</html>
